package com.abu.crms.api;


import com.abu.common.Resp;
import com.abu.crms.pojo.User;
import org.springframework.web.bind.annotation.*;

public interface UserApi {
    /**
     * 根据用户名和密码查询用户
     *
     * @param cardNum
     * @param password
     * @return
     */
    @PostMapping("/user/noAuthorize/")
    Resp queryUserInfoByCardNumAndPassword(
            @RequestParam("cardNum") String cardNum,
            @RequestParam("password") String password
    );

}
